Optimal. Leaf size=90 \[ -\frac {4 \sqrt {a x-1} \sqrt {a x+1} \cosh ^{-1}(a x)}{9 a^3}+\frac {4 x}{9 a^2}+\frac {1}{3} x^3 \cosh ^{-1}(a x)^2-\frac {2 x^2 \sqrt {a x-1} \sqrt {a x+1} \cosh ^{-1}(a x)}{9 a}+\frac {2 x^3}{27} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.31, antiderivative size = 90, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {5662, 5759, 5718, 8, 30} \[ \frac {4 x}{9 a^2}-\frac {4 \sqrt {a x-1} \sqrt {a x+1} \cosh ^{-1}(a x)}{9 a^3}+\frac {1}{3} x^3 \cosh ^{-1}(a x)^2-\frac {2 x^2 \sqrt {a x-1} \sqrt {a x+1} \cosh ^{-1}(a x)}{9 a}+\frac {2 x^3}{27} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 30
Rule 5662
Rule 5718
Rule 5759
Rubi steps
\begin {align*} \int x^2 \cosh ^{-1}(a x)^2 \, dx &=\frac {1}{3} x^3 \cosh ^{-1}(a x)^2-\frac {1}{3} (2 a) \int \frac {x^3 \cosh ^{-1}(a x)}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx\\ &=-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)}{9 a}+\frac {1}{3} x^3 \cosh ^{-1}(a x)^2+\frac {2 \int x^2 \, dx}{9}-\frac {4 \int \frac {x \cosh ^{-1}(a x)}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx}{9 a}\\ &=\frac {2 x^3}{27}-\frac {4 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)}{9 a^3}-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)}{9 a}+\frac {1}{3} x^3 \cosh ^{-1}(a x)^2+\frac {4 \int 1 \, dx}{9 a^2}\\ &=\frac {4 x}{9 a^2}+\frac {2 x^3}{27}-\frac {4 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)}{9 a^3}-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)}{9 a}+\frac {1}{3} x^3 \cosh ^{-1}(a x)^2\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.10, size = 64, normalized size = 0.71 \[ \frac {1}{27} \left (2 x \left (\frac {6}{a^2}+x^2\right )-\frac {6 \sqrt {a x-1} \sqrt {a x+1} \left (a^2 x^2+2\right ) \cosh ^{-1}(a x)}{a^3}+9 x^3 \cosh ^{-1}(a x)^2\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.62, size = 82, normalized size = 0.91 \[ \frac {9 \, a^{3} x^{3} \log \left (a x + \sqrt {a^{2} x^{2} - 1}\right )^{2} + 2 \, a^{3} x^{3} - 6 \, {\left (a^{2} x^{2} + 2\right )} \sqrt {a^{2} x^{2} - 1} \log \left (a x + \sqrt {a^{2} x^{2} - 1}\right ) + 12 \, a x}{27 \, a^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 78, normalized size = 0.87 \[ \frac {\frac {a^{3} x^{3} \mathrm {arccosh}\left (a x \right )^{2}}{3}-\frac {4 \sqrt {a x -1}\, \sqrt {a x +1}\, \mathrm {arccosh}\left (a x \right )}{9}-\frac {2 \,\mathrm {arccosh}\left (a x \right ) \sqrt {a x -1}\, \sqrt {a x +1}\, a^{2} x^{2}}{9}+\frac {4 a x}{9}+\frac {2 x^{3} a^{3}}{27}}{a^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.69, size = 70, normalized size = 0.78 \[ \frac {1}{3} \, x^{3} \operatorname {arcosh}\left (a x\right )^{2} - \frac {2}{9} \, a {\left (\frac {\sqrt {a^{2} x^{2} - 1} x^{2}}{a^{2}} + \frac {2 \, \sqrt {a^{2} x^{2} - 1}}{a^{4}}\right )} \operatorname {arcosh}\left (a x\right ) + \frac {2 \, {\left (a^{2} x^{3} + 6 \, x\right )}}{27 \, a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int x^2\,{\mathrm {acosh}\left (a\,x\right )}^2 \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.97, size = 85, normalized size = 0.94 \[ \begin {cases} \frac {x^{3} \operatorname {acosh}^{2}{\left (a x \right )}}{3} + \frac {2 x^{3}}{27} - \frac {2 x^{2} \sqrt {a^{2} x^{2} - 1} \operatorname {acosh}{\left (a x \right )}}{9 a} + \frac {4 x}{9 a^{2}} - \frac {4 \sqrt {a^{2} x^{2} - 1} \operatorname {acosh}{\left (a x \right )}}{9 a^{3}} & \text {for}\: a \neq 0 \\- \frac {\pi ^{2} x^{3}}{12} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________